package com.ustc.hewei.commonmodule.service;

import com.baomidou.mybatisplus.extension.api.R;
import com.ustc.hewei.commonmodule.dto.Result;
import com.ustc.hewei.commonmodule.entity.Shop;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author hewei
 * @since 2022-10-05
 */
public interface IShopService extends IService<Shop> {
    Result queryById(Long id);

    Result update(Shop shop);

    Result queryShopByType(Integer typeId, Integer current, Double x, Double y);

    void addAllShopToCache();

    Result queryByNameLike(String name, Integer current);
}
